import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vite.dev/config/
export default defineConfig({
  plugins: [vue()],
  assetsInclude: ['**/*.onnx'], // 明确包含 onnx 文件
  optimizeDeps: {
    exclude: ['onnxruntime-web'] // 避免预构建 onnxruntime
  }
})
